/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class AccidentTypeEnum extends StringEnum
{
    public static final String BACKOFF_VALUE = "10";
    public static final String TRAVEL_VALUE = "20";
    public static final String PARK_VALUE = "30";

    public static final AccidentTypeEnum backOff = new AccidentTypeEnum("backOff", BACKOFF_VALUE);
    public static final AccidentTypeEnum travel = new AccidentTypeEnum("travel", TRAVEL_VALUE);
    public static final AccidentTypeEnum park = new AccidentTypeEnum("park", PARK_VALUE);

    /**
     * construct function
     * @param String accidentTypeEnum
     */
    private AccidentTypeEnum(String name, String accidentTypeEnum)
    {
        super(name, accidentTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AccidentTypeEnum getEnum(String accidentTypeEnum)
    {
        return (AccidentTypeEnum)getEnum(AccidentTypeEnum.class, accidentTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AccidentTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AccidentTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AccidentTypeEnum.class);
    }
}